package com.songlanyun.modules.offlineorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.JpaUtils.BaseService;
import com.songlanyun.common.drive.IBaseService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.offlineorder.dto.OfflineOrderBuildDto;
import com.songlanyun.modules.offlineorder.dto.OfflineOrderBuildVo;
import com.songlanyun.modules.offlineorder.dto.OfflineOrderCountVo;
import com.songlanyun.modules.offlineorder.entity.OfflineOrder;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 线下商家上报订单
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2023-02-11 16:57:11
 */
public interface OfflineOrderService extends IBaseService<Long,OfflineOrder> {

    PageUtils queryPage(Map<String, Object> params);

    OfflineOrderBuildVo build(OfflineOrderBuildDto offlineOrderBuildDto);

    OfflineOrder createOrder(OfflineOrderBuildDto offlineOrderBuildDto);

    OfflineOrderCountVo dateCount(Map<String, Object> params);

    BigDecimal selectCountShopConsumeIntegralAble();
}

